// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import dataV from '@jiaminghi/data-view'
import echarts from 'echarts'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import AMap from 'vue-amap';

Vue.use(AMap);



AMap.initAMapApiLoader({
  // 高德key
  key: 'bbac77c9c72ed9359a0daa8724813d9c',
  // 插件集合 （插件按需引入）
  plugin: ['AMap.Geolocation']
});
Vue.use(dataV)
Vue.use(ElementUI)

Vue.config.productionTip = false
Vue.prototype.$echarts = echarts
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
